package io.github.luyanfei
enum QuestionType {
  MULTICHOICE("multichoice"),TRUEFALSE("truefalse")
  String name
  private QuestionType(String name) {this.name = name}
  static QuestionType byName(String name){
    values().find {it.name == name}
  }
}
